Get Contacts
AutomatR.TFMailchimp.Activities.GetContacts
The "Get Contacts" activity in AutomatR is part of the Mailchimp Contact activities package, allowing users to retrieve a list of contacts associated with a specified audience in their Mailchimp account.
Properties
Name | Description |
---|---|
Input | |
Audience Name | Specifies the name of the audience for which contacts need to be listed. String variables containing the audience name. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Get Contacts" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Get Contact Response | Outputs a list of email addresses for all contacts in the specified audience of the Mailchimp account. Variables of type List<string> to store the list of email addresses. |
How to use:
- Drag and drop the "Get Contacts" activity onto the workflow.
- Configure the properties by specifying the audience name for which contacts need to be listed.
- Optionally, configure the delay.
- Execute the workflow to retrieve the list of contacts associated with the specified audience in the Mailchimp account.
- The list of email addresses is stored in the variable specified for "Get Contact Response."
Example: Consider an example where the "Get Contacts" activity is used to retrieve the list of contacts for an audience named "NewsletterSubscribers":
Get Contacts:
Delay: 2
Audience Name: "NewsletterSubscribers"
Get Contact Response: contactList
In this example, the activity retrieves the list of email addresses for all contacts in the "NewsletterSubscribers" audience. The list of email addresses is stored in the variable "contactList" for further handling in the workflow.